package cn.zhutmj_bigmarket.domain.strategy.repository;

import cn.zhutmj_bigmarket.domain.strategy.model.entity.StrategyAwardEntity;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @description: 策略仓储：管理聚合
 * @author: zhutmj
 * @createTime: 2025/6/2117:45
 */
public interface IStrategyRepository {
    List<StrategyAwardEntity> queryStrategyAwardList(Long strategyID);

    void storeStrategyAwardSearchRateTable(Long strategyId, Integer rateRange, Map<Integer, Integer> strategyAwardSearchRateTable);

    Integer getStrategyAwardAssemble(Long strategyId, Integer rateKey);

    int getRateRange(Long strategyId);
}
